package com.mail.dubbo.api;

import com.mail.dubbo.mapper.CmsPrefrenceAreaMapper;
import com.mail.model.db.CmsPrefrenceArea;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author gaocq
 * @version 1.0.0
 * @Program hmsc
 * @date 2022/6/24 14:29
 */
@DubboService
public class CmsPrefrenceAreaApiImpl implements CmsPrefrenceAreaApi{
    @Autowired
    private CmsPrefrenceAreaMapper cmsPrefrenceAreaMapper;

    @Override
    public List<CmsPrefrenceArea> listAll() {
        return cmsPrefrenceAreaMapper.selectList(null);
    }
}
